<?php //debug($tags);  ?>
<div class="widget">
    <div class="whead"><h6>Documentos ID de Proyecto: <?php echo $tags['0']['Plano']['proyecto']; ?> </h6><div class="clear"></div></div>
    <div class="shownpars">
        <table cellpadding="0" cellspacing="0" border="0" class="dTable">
            <thead>
                <tr>
                    <th>Document ID</th>                    
                    <th>Acciones</th>
                </tr>
            </thead>            
            <tbody>
               <?php foreach ($tags as $t): ?>
                    <?php $idPlanosTag = $t['PlanosTag']['id']; ?>                    
                    <tr>                        
                        <td><?php echo $t['PlanosTag']['tag_id']; ?></td>                                                               
                        <td>
                            <?php echo $this->Html->link('Editar', array('action' => 'editar', $idPlanosTag)); ?> -
                            <?php echo $this->Html->link('Eliminar', array('controller'=>'PlanosTags','action' => 'eliminar',$idPlanosTag), null, ('Desea aliminar este Documento.....!!!!!?')); ?> -
                            
                        </td>
                    </tr>
                <?php endforeach; ?>
            </tbody>
        </table>         
    </div>       
</div>     
<div class="actions-right">
<?php echo $this->Html->link('INSERTAR NUEVO DOCUMENT ID', array('action' => 'insertar', $tags['0']['Plano']['id']), array('class' => 'buttonS bGreen ')); ?>&nbsp;&nbsp;&nbsp;&nbsp;
    <?php echo $this->Html->link("Volver &raquo;", array('controller' => 'PlanosTags', 'action' => 'index'), array('class' => 'buttonS bLightBlue', 'escape' => FALSE)); ?>
</div>